package com.apartment.own.domain.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

import java.io.Serializable;

/** 常规押金
 * @author sxy
 * @version 1.0
 * @date 2020/9/3 0003 上午 10:07
 */

public enum ConventionalDepositEnum implements IEnum {
    /**
     * 无押金没有
     */
    TYPE1(1,"无押金",1),

    /**
     *
     */
    TYPE2(2,"押1",0),

    /**
     *
     */
    TYPE3(3,"押2",0),

    /**
     *
     */
    TYPE4(4,"押3",0),
    /**
     * 自定义随便输入
     */
    TYPE5(5,"押金自定义",0)
    ;
    private int id;
    private String name;
    private Integer select;
    public int getId() {
        return id;
    }

    public Integer getSelect() {
        return select;
    }

    public void setSelect(Integer select) {
        this.select = select;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    ConventionalDepositEnum(int id, String name,Integer select) {
        this.id = id;
        this.name = name;
        this.select = select;
    }

    @Override
    public Serializable getValue() {
        return null;
    }
}
